package com.jiyun.model.information;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zl_team")
@ApiModel(value="ZlTeam对象", description="")
public class ZlTeam implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "图片")
    private String photo;

    @ApiModelProperty(value = "团队名")
    private String name;

    @ApiModelProperty(value = "团队长")
    private String leader;

    @ApiModelProperty(value = "团队标签外键")
    private Integer bid;

    @ApiModelProperty(value = "所属机构(外键)")
    private Integer jid;

    @ApiModelProperty(value = "签约人数")
    private Integer signedCount;

    @ApiModelProperty(value = "评分")
    private Double score;

    @ApiModelProperty(value = "状态1：启用、2：禁用")
    private String status;

    @ApiModelProperty(value = "分享量")
    private Integer shareCount;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "创建人、新建的话是登录人")
    private String creator;

    @ApiModelProperty(value = "团队成员数量")
    private Integer memberCount;


    @ApiModelProperty(value = "机构名")
    @TableField(exist = false)
    private String iname;

    @ApiModelProperty(value = "机构地址")
    @TableField(exist = false)
    private String iaddress;

    @TableField(exist = false)
    @ApiModelProperty(value = "标签")
    private String lname;



}
